angular.module("myApp")
.config(function($stateProvider,$urlRouterProvider){
    $urlRouterProvider.otherwise("home");
    $stateProvider.state("home",{
        url : "/home",
        templateUrl : "modules/home/home.html",
    }).state("question",{
        url : "/question",
        templateUrl : "modules/question/question.html",
    }).state("question_inner",{
        url : "/question_inner",
        templateUrl : "modules/question/question_inner/question_inner.html",
    }).state("walk",{
	    url : "/walk",
	    templateUrl : "modules/walk/walk.html"
	}).state("play", {
	  	url : "/play",
	  	templateUrl : "modules/play/play.html",
	  	controller : "playController"
	}).state("walk_xc", {
		url: "/walk_xc",
		templateUrl: "modules/walk/walk_xc.html"
	}).state("walk_hot", {
		url: "/walk_hot",
		templateUrl: "modules/walk/walk_hot.html"
	}).state("hotel", {
		url: "/hotel",
		templateUrl: "modules/hotel/hotel.html"
	}).state("destination", {
		url: "/destination",
		templateUrl: "modules/destination/destination.html"
	}).state("mine", {
		url: "/mine",
		templateUrl: "modules/mine/mine.html"
	}).state("mine_login", {
		url: "/mine_login",
		templateUrl: "modules/mine/mine_login.html"
	}).state("shopping", {
		url: "/shopping",
		templateUrl: "modules/shopping/shopping.html"
	}).state("travel", {
		url: "/travel",
		templateUrl: "modules/travel/travel.html"
	}).state("setting", {
		url: "/setting",
		templateUrl: "modules/hotel/setting.html"
	}).state("sousuo", {
		url: "/sousuo",
		templateUrl: "modules/sousuo/sousuo.html"
	})
})